/*
 * @Author       : 邱狮杰
 * @Date         : 2021-05-20 15:54:39
 * @LastEditTime : 2021-05-20 16:07:08
 * @FilePath     : /wedding-dress-selection/src/utils/local.ts
 * @Description  : local
 */

export function getLocal(key: string): string | null {
  return localStorage.getItem(key)
}
export function setLocal(key: string, val: string): string {
  localStorage.setItem(key, val)
  return val
}
